package cn.edu.scau.cmi.chensixiao.abstractFactory.factory;

import cn.edu.scau.cmi.chensixiao.abstractFactory.domain.PingAnCarInsurance;
import cn.edu.scau.cmi.chensixiao.abstractFactory.domain.PingAnDriverInsurance;
import cn.edu.scau.cmi.chensixiao.abstractFactory.domain.PingAnOtherInsurance;
import cn.edu.scau.cmi.chensixiao.abstractFactory.domainAbstractClass.Insurance;

public class PingAnInsuranceFactory extends AbstractInsuranceFactory{
	@Override
	public Insurance creatCarInsurance() {
		return new PingAnCarInsurance();
	}
	
	@Override
	public Insurance creatDriverInsurance() {
		return new PingAnDriverInsurance();
	}
	
	@Override
	public Insurance creatOtherInsurance() {
		return new PingAnOtherInsurance();
	}

}
